package com.lebang.mapper;

import com.lebang.entity.sys.LbbResource;
import com.lebang.example.LbbResourceExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface LbbResourceMapper {
    long countByExample(LbbResourceExample example);

    int deleteByExample(LbbResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LbbResource record);

    int insertSelective(LbbResource record);

    List<LbbResource> selectbyexamplewithblobs(LbbResourceExample example);

    List<LbbResource> selectByExample(LbbResourceExample example);

    LbbResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LbbResource record, @Param("example") LbbResourceExample example);

    int updatebyexamplewithblobs(@Param("record") LbbResource record, @Param("example") LbbResourceExample example);

    int updateByExample(@Param("record") LbbResource record, @Param("example") LbbResourceExample example);

    int updateByPrimaryKeySelective(LbbResource record);

    int updatebyprimarykeywithblobs(LbbResource record);

    int updateByPrimaryKey(LbbResource record);
}